<template>
  <div class="overlay-layout">
    <van-overlay :show="show" :class="{back1:backType=='white',back3:backType=='lucency'}">
      <div class="wrapper">
        <van-loading type="spinner"/>
        <span class="loading-text">请稍候</span>
      </div>
    </van-overlay>
  </div>
</template>

<script>
  export default {
    name: "LodingProgress",
    props: {
      backType: {
        type: String,
        default: 'white'
      },
      show: {
        type: Boolean,
        default: false
      }
    }
  }
</script>

<style lang="scss" scoped>
  @import './index.scss';
</style>
